package com.movie.service;

import com.movie.model.Order;
import com.movie.model.OrderSeat;
import com.movie.util.OrderRequest;
import com.movie.util.OrderStatistics;
import com.movie.util.SeatRequest;

import java.util.List;

public interface OrderService {
    Integer createOrder(Integer userId, OrderRequest request);
    List<Order> getUserOrders(Integer userId);
    Order getOrderDetails(Integer orderId);
    boolean processPayment(Integer orderId);
    boolean checkSeatAvailability(SeatRequest request);
    List<OrderSeat> getScreeningSeats(Integer screeningId);
    
    // 统计方法
    OrderStatistics getOrderStatistics();
}